#!/bin/bash

if [ $# -ne 4 ]
then
	echo "param too less"
	echo "./install-chaincode.sh <ccpath> <ccversion> <ccsequence> <ccname>"
	exit 1 
fi
ccpath=$1
ccversion=$2
ccseq=$3
ccname=$4

./network.sh deployCC -ccn $4 -ccp $ccpath -ccv $ccversion -ccs $ccseq -ccl go